<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
	{:token()}
	<input type="hidden" name="ids" value="{$row.id}"/>
	<input type="hidden" name="year" value="{$year}"/>
	<input type="hidden" name="status" value="{$status}"/>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">年份:</label>
		<div class="col-xs-12 col-sm-4">
			<p class="form-control" disabled>{$row.achievement.year}</p>
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">全年目标:</label>
		<div class="col-xs-12 col-sm-4">
			<p class="form-control" disabled id="all"></p>
			<input type="hidden" name="row[yeartarget]" id="yeartarget" value="{$row.achievement.yeartarget|round=###,2}">
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">第一季度:</label>
		<div class="col-xs-12 col-sm-8">
			<p id="one" class="form-control" disabled></p>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">一月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[january]" id="january" min="0" class="form-control month" value="{$row.achievement.january|default=0}"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">二月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[february]" id="february" min="0" class="form-control month" value="{$row.achievement.february|default=0}"/>
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">三月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[march]" id="march" min="0" class="form-control month" value="{$row.achievement.march|default=0}"/>
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">第二季度:</label>
		<div class="col-xs-12 col-sm-8">
			<p class="form-control" disabled id="two"></p>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">四月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[april]" id="april" min="0" class="form-control month" value="{$row.achievement.april|default=0}"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">五月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[may]" id="may" min="0" class="form-control month" value="{$row.achievement.may|default=0}"/>
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">六月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[june]" id="june" min="0" class="form-control month" value="{$row.achievement.june|default=0}"/>
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">第三季度:</label>
		<div class="col-xs-12 col-sm-8">
			<p class="form-control" disabled id="three"></p>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">七月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[july]" id="july" min="0" class="form-control month" value="{$row.achievement.july|default=0}"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">八月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[august]" id="august" min="0" class="form-control month" value="{$row.achievement.august|default=0}"/>
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">九月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[september]" id="september" min="0" class="form-control month" value="{$row.achievement.september|default=0}"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">第四季度:</label>
		<div class="col-xs-12 col-sm-8">
			<p class="form-control" disabled id="four"></p>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">十月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[october]" id="october" min="0" class="form-control month" value="{$row.achievement.october|default=0}"/>
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">十一月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[november]" id="november" min="0" class="form-control month" value="{$row.achievement.november|default=0}"/>
		</div>
	</div>

	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">十二月:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[december]" id="december" min="0" class="form-control month" value="{$row.achievement.december|default=0}"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">审核人:</label>
		<div class="col-xs-12 col-sm-8">
			{:build_select('flow_staff_ids', $staff, null, ['class'=>'form-control selectpicker', 'multiple'=>'', 'data-rule'=>'required', 'data-live-search'=>'true'])}
		</div>
	</div>

	<div class="form-group layer-footer">
		<label class="control-label col-xs-12 col-sm-2"></label>
		<div class="col-xs-12 col-sm-8">
			<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
			<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
		</div>
	</div>
</form>
